package com.zbkj.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zbkj.common.model.member.PaidMemberCardApply;
import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.request.PaidMemberCardApplyRequest;
import com.zbkj.common.response.CardBrandForApplyResponse;
import com.zbkj.common.response.ProductActivityResponse;

import java.util.List;

/**
 * @author hzw
 * @description PaidMemberCardService 接口
 * @date 2024-05-10
 */
public interface PaidMemberCardApplyService extends IService<PaidMemberCardApply> {

    /**
     * 添加付费会员卡
     */
    Boolean apply(List<PaidMemberCardApplyRequest> request);
    Boolean review(List<PaidMemberCardApplyRequest> request);
    /**
     * 获取被申请会员卡品牌列表
     * @return
     */
    List<CardBrandForApplyResponse> getForCardBrands(Integer cardId);

    /**
     * 获取该会员申请跨品牌列表
     * @return
     */
    List<CardBrandForApplyResponse> getApplyCardBrands(Integer cardId);

    /**
     * 折扣商品
     * @return
     */
    PageInfo<ProductActivityResponse> discount(PageParamRequest pageRequest);

    /**
     * 获取申请跨品牌折扣审核记录
     * @param appliedForCardId
     * @return
     */
    List<PaidMemberCardApply>  getCardApplys(Integer appliedForCardId);
}